//
//  DBLoginViewController.h
//  Bottle
//
//  Created by apple on 11-11-12.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DBLoginDelegate;

@interface DBLoginViewController : UIViewController
<UIWebViewDelegate>{
    UIWebView   *_webView;
    id<DBLoginDelegate> delegate;
}

@property (nonatomic, assign) id<DBLoginDelegate> delegate;

- (void)loadUrl:(NSString*)urlString;

@end

@protocol DBLoginDelegate <NSObject>

- (void)loginSuccess:(NSString*)oauthKey;

@end
